<%--
  Created by IntelliJ IDEA.
  User: !
  Date: 2021/7/19
  Time: 16:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <form action="/classes/find">
    <input type="text" name="sid">
    <input type="date" name="rq">
    <input type="submit" value="查询">
    </form>

    <table border="1">
        <tr>
            <td>姓名</td>
            <c:forEach begin="1" end="31" var="i">
                <td>${i}</td>
            </c:forEach>
        </tr>
    </table>
    <table border="1">
            <c:forEach items="${list}" var="obj">
                <tr>
                <td>${obj.stname}</td>
                    <c:forEach begin="1" end="31" var="i">
                        <td style="width: 16px">
                            <c:forEach items="${list3}" var="j">
                                <c:if test="${j.ts==i and obj.stid==j.studentId}">
                                <div>异常</div>
                                </c:if>
                            </c:forEach>
                        </td>
                    </c:forEach>
                </tr>
            </c:forEach>

    </table>
</body>
</html>
